package com.foyekoo.project001.config;

public class DataConfig {


    /**
     * 控制灯的效果
     */
    public static byte[] LIGHT_CONTROL = {0x58, 0X05, 0x0C, 0x00, 0x00, 0x00, 0x0C, (byte) 0x85};

    /**
     * 掉电保存
     */
    public static byte[] SAVE_STATUS = {0x58, 0x05, 0x09, 0x02, 0x00, 0x00, 0x09, (byte) 0x85};

    /**
     * 老化控制
     */
    public static byte[] OLD_CONTROL = {0x58,0x05,0x0D,0x00,0x00  ,0x00,0x0D, (byte) 0x85};


    public static byte[] MACHINERY_CONTROL_TEST ={0X58,0X05,0X09,0X00,0X00,0X00,0X09, (byte) 0X85

    };

    public static byte[] TEST = {
        0x58,0x05,0x02,0x01,0x00,0x00,0x02, (byte) 0x85
    };

    public static byte[] FREE_MODE = {
        0X58,0X05,0X0A,0X04,0X00,0X00,0X0A, (byte) 0X85
    };

    /**
     * IO板子确认 握手
     *
     */
    public static byte[] IO_CONNECTION = {0x58,0x05,0x01,
            0x01 //月份+12
            ,0x01, //日+12
            0x24 //时+12
            ,0x01, (byte) 0x85 };

    /**
     * 数据初始化
     */
    public static byte[] DATA_INIT =  {
            0x58,0x05,0x03,0x01,0x00,0x00,0x03, (byte) 0x85

    };

    /**
     * 多少币一局
     */
    public static byte[] GAME_COIN_BY_ONE  = {
        0x58,0x05,0x0a,0x00,0x00,0x00,0x0a,0x58
    };

    /**
     * 游戏时间
     */
    public static byte[] DATA_GAME_TIME_BY_ONE = {
            0x58,0x05,0x0a,0x01,0x00,0x00,0x0a,0x58
    };

    /**
     * 心跳包
     */
    public static byte[] HEART_BEAT = {
            0x58,0x05,0x0F,0x01,0x01,0x00,0x00,0x0a, (byte) 0x85

    };

    /**
     * 强推
     */
    public static byte[] MACHINERY_PUSH = {
            0x58,0x05,0xa,0x05,
            0x00,
            0x00,
            0x0a,0x58
    };
    /**
     * 电机速度
     */
    public static byte[] MACHINERY_SPEED = {
            0x58,0x05,0x0a,0x06,
            0x01,//z1区
            0x01,//z2区
            0x0a,0x58
    };

    /**
     * 电机力度
     */
    public static byte[] MACHINERY_POWER = {
            0x58,0x05,0x0a,0x07,
            0x01,//z1区
            0x01,//z2区
            0x0a,0x58
    };


    /**
     * 游戏页面OK
     */
    public static byte[] GAME_UI_SUCCESS = {
            0x58,0x05,0x02,0x02,0x00,0x00,0x02, (byte) 0x85
    };

    /**
     * 等待页面OK
     */
    public static byte[] WAITING_UI_SUCCESS = {
            0x58,0x05,0x02,0x01,0x00,0x00,0x02, (byte) 0x85
    };


    /**
     * 电机等待时间
     */
    public static byte[] MACHINERY_WAITING = {
            0x58,0x05,0x0a,0x08,
            0x01,//z1区
            0x01,//z2区
            0x0a,0x58
    };

}
